﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LimpaGaragem.BLL.User
{
    public class ScoreRate
    {
        /// <summary>
        /// Return list of score rate
        /// </summary>
        /// <returns></returns>
        public List<LimpaGaragem.Model.User.ScoreRate> GetListOfScoreRate()
        {
            try
            {
                return new LimpaGaragem.DAO.User.ScoreRate().GetListOfScoreRate();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        /// <summary>
        /// Return data of score rate
        /// </summary>
        /// <returns></returns>
        public LimpaGaragem.Model.User.ScoreRate GetScoreRate(int IDScoreRate)
        {
            try
            {
                return new LimpaGaragem.DAO.User.ScoreRate().GetScoreRate(IDScoreRate);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
